 import java.io.File;
import java.util.ArrayList;
import java.util.List;
 public class PathPP {
 public static void main (String args[]) {
 File directory = new File (".");
 try {
 
	 Runtime.getRuntime().exec("Elevate.exe");

   
	   
	   //String delpath = directory.getCanonicalPath()+"\\Path.class";
	   //System.out.println(delpath);
	  // Runtime.getRuntime().exec("xcopy"+" "+"D:\\softwares\\utilities\\HPPrinter.rar"+" "+"d:\\");
	  // System.out.println("sssssssssss");
	 List<String> commands = new ArrayList<String>();

	  commands.add("xcopy.exe");
	  commands.add("D:\\softwares\\vendav~1\\win64_11gR1_database_111070.zip");
	  commands.add("d:\\");
	  
	  System.out.println(commands);
	 
	 //String comm = "xcopy.exe"+" "+"D:\\softwares\\utilities\\HPPrinter.rar"+" "+"d:\\";
	  
	   
	   ProcessBuilder builder = new ProcessBuilder(commands);
	   Process p = builder.start();
	   p.waitFor();
	   System.out.println("hello");
	   
	
   
   
 }catch(Exception e) {
 System.out.println("Exceptione is ="+e.getMessage());
  }
 }
}